home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HyperHackers.cpt
/
Hyper-Hackers Queue 1.0
/
card_36752.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
1KB
|
40 lines
-- card: 36752 from stack: in.0
-- bmap block id: 0
-- flags: 0000
-- background id: 3797
-- name:
-- part contents for background part 1
----- text -----
From: beloin@batcomputer.tn.cornell.edu (Ron Beloin)
Date: 10 Mar 88 16:00:51 GMT
> put the number of cards into numCards
> repeat with i = 1 to numCards
> go card i of stack "sourceStack"
> put field "f1" into f1contents
> - and so on
> go stack "destination" - has one card to begin with, with fields, etc
> if i > the number of cards then
> doMenu "New Card"
now, the new card is card number 2, since you started on card 1...
> end if
> go card i
this takes you to the last card, not the new one...
and this overwrites previous data...
So it had nothing to do with compacting the stack. I couldn't see what
was wrong until I played with it a bit. You can skip the if statement
above and just make a new card and stuff away..
-- part contents for background part 45
----- text -----
Re: Copying contents of stacks